package com.hulk.dryad.activiti7.api;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 基类
 *
 * @author hulk
 */

@Data
@ToString
@EqualsAndHashCode
@Accessors(chain = true)
public class BaseVO implements Serializable {
	
	private static final long serialVersionUID = 1L;


	/**
	 * 请求参数
	 */
	private Map<String, Object> params;

	public Map<String, Object> getParams() {
		if (params == null) {
			params = new HashMap<>();
		}
		return params;
	}

	public void setParams(Map<String, Object> params) {
		this.params = params;
	}


}
